running=0
HotKey, #r, Start
HotKey, #s, Stop
return

Start:
  running=1
  
  loop
  {
    MouseClick, left,  1074,  276
    Sleep, 5000
    if (running=0) 
      break
        
    MouseClick, left,  777,  561
    Sleep, 5000
    if (running=0) 
      break
    
    MouseClick, left,  690,  587
    Sleep, 500
    if (running=0) 
      break
    
    MouseClick, left,  619,  919, 1, 10
    Sleep, 5000
    if (running=0) 
      break
  }
  return


Stop:
  running=0
  return